package com.itheima.service;

import com.fasterxml.jackson.core.JsonProcessingException;

/**
 * <h1>敏感词过滤服务接口</h1>
 *
 * @author <a href="515857087@qq.com">叶世铭</a>
 * @since 2022/12/7
 */
public interface SensitiveWordFilterService {

    /**
     * 过滤敏感词，返回过滤后的结果
     * @param txt
     * @return
     */
    String filter(String txt) throws JsonProcessingException;
}
